package org.itboys.core.entity.mongo.dispatch;

import lombok.Data;
import org.itboys.mongodb.entity.BaseMongoEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.List;

/**
 * @Author：贾琦磊
 * @Date：2018/12/15
 * @Description：调配单模板型号相关
 */
@Data
@Entity(value = "SundayDispatchModel",noClassnameStored = true)
public class SundayDispatchModel extends BaseMongoEntity{
    /**所属调配单id*/
    private Long orderId;
    /**数量*/
    private Integer num;
    /**记录模板型号信息*/
    private Long modelId;//模板类型id
    private String name;//名称
    private String standard;//规格
    private String material;//材质
    private String loadBear;//承重
    private String image;//图片
    /**托盘id集合*/
    private List<Long> trayIds;
    /**状态:0--初始化状态，1--已保存托盘状态*/
    private Integer state;
}
